package com.sixth.controller;

import com.sixth.core.vo.R;
import com.sixth.service.RegistrationService;
import com.sixth.vo.OrderQueryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 李劲锋
 * @create: 2024-08-29 10:43
 **/
@RestController
@RequestMapping("/charge/orderAll")
public class RegistrationController {
    @Autowired
    private RegistrationService registrationService;

    @PostMapping("/queryAllOrder")
    public R queryAllOrder(@RequestBody OrderQueryVO orderQueryVO){
        return registrationService.queryAllOrder(orderQueryVO);
    }
}
